package com.shenkh.usunshine.spring.context;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ApplicationContextHelper {
	private final static ApplicationContextHelper instance = new ApplicationContextHelper();
	
	private org.springframework.context.ApplicationContext springContext;
	
	private ApplicationContextHelper() {
		springContext = new ClassPathXmlApplicationContext("com/shenkh/usunshine/spring/applicationContext.xml");
	}
	
	public static ApplicationContextHelper getInstance() {
		return instance;
	}
	
	public org.springframework.context.ApplicationContext getSpringContext() {
		return springContext;
	}

}
